﻿using System;
using System.Collections.Generic;
using Citi.RoutineBase;

namespace Citi.PTSConsolidation.SchedulerUI
{
    public class PTSPreviousYearReportGeneration : IExecutableRoutine
    {
        public void Rollback(ref ICurrentAction currentAction)
        {

        }

        public void Stop(ref ICurrentAction currentAction)
        {

        }

        public void Start(DateTime scheduledDate, ref ICurrentAction currentAction, Dictionary<string, object> parameters)
        {
            ReportGenerationHelper.GenerateReport(DateTime.Today.Year - 1, ref currentAction);
        }
    }
}